<div class="container clearfix" id="SchoolAwardInfo">
<?php

if($dataList){
?>

<table class="info" id="SchoolAward-table">
    <colgroup><col width="70">
    <col width="110">
    <col width="80">
    <col width="270">
    <col width="100">
    </colgroup><thead>
    <tr class="g9">
        <th></th>
        <th>标题</th>
        <th>时间</th>
        <th>学校</th>
        <th>&nbsp;</th>
    </tr>
    </thead>
        <tbody>
        <?foreach($dataList as $data){?>
        <tr class=" " id="tr_SchoolAward_<?=$data['id']?>">
            <td class="alignright middle"><img src="./images/release.gif" title="已添加描述"></td>
            <td><?=$data['title']?></td>
            <td align="center"><?=$data['date_year'] . '-' .$data['date_month'] ?></td>
            <td><?=$data['school']?></td>
            <td class="padding"><a href="index.php?c=MyResume&a=SchoolAwardShow&id=<?=$data['id']?>&height=290&width=770&keepThis=true&TB_iframe=true" title="修改此信息" class="icon edit thickbox">修改</a> <a onclick="delItem('SchoolAward','<?=$data['id']?>')" href="javascript:void(0);" target="_self" class="icon delete">删除</a></td>
        </tr>
        <?}?>
</tbody></table>

<?}else{?>
    <div class="notfilled">
        <ul class="nodata">
            <li class="think">校内奖励可以给你的简历锦上添花哦。&nbsp;&nbsp;<a href="index.php?c=MyResume&a=SchoolAwardShow&height=305&width=770&keepThis=true&TB_iframe=true" rel="scholarship" title="添加校内奖励" class="addme thickbox">添加</a></li>
            <li class="create">如果没有获得过校内奖励，建议你先<a rel="scholarship" href="javascript:void(0);" onclick="hidearea('SchoolAward','schoolaward')" class="discard">隐藏</a></li>
        </ul>
    </div>
    <script>$("#SchoolAward-section h2 a").hide();</script>
<?}?>
</div>